Skip to content

Commit 2ac495b

Browse files
Merge pull request #155 from FacturAPI/chore/update_payment_related_ids
chore(payment_related_ids): add payment related ids in invoice schema
2 parents 5bf056b + 839cc7f commit 2ac495b

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

website/openapi_v2.en.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8558,6 +8558,12 @@ components:
85588558
description: Documents related to the invoice.
85598559
items:
85608560
$ref: "#/components/schemas/RelatedDocument"
8561+
payment_related_ids:
8562+
type: array
8563+
items:
8564+
type: string
8565+
description: If this invoice has a payment method PPD and type I, this field will have the related payment id of this invoice.
8566+
default: []
85618567
currency:
85628568
type: string
85638569
example: MXN
@@ -9223,12 +9229,6 @@ components:
92239229
default: []
92249230
items:
92259231
$ref: "#/components/schemas/RelatedDocumentInput"
9226-
payment_related_ids:
9227-
type: array
9228-
items:
9229-
type: string
9230-
description: This field will contain the ids of the invoices that were paid with this document, as long as they were created or imported to the same organization's Facturapi account.
9231-
default: []
92329232
third_party:
92339233
allOf:
92349234
- type: object

website/openapi_v2.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8479,6 +8479,12 @@ components:
84798479
$ref: "#/components/schemas/NamespaceProperties"
84808480
stamp:
84818481
$ref: "#/components/schemas/Stamp"
8482+
payment_related_ids:
8483+
type: array
8484+
items:
8485+
type: string
8486+
description: Si esta factura tiene un método de pago PPD y es de tipo I, este campo contendrá los id de pagos relacionados a esta factura.
8487+
default: []
84828488
InvoiceDraftProperties:
84838489
type: object
84848490
properties:
@@ -9162,12 +9168,6 @@ components:
91629168
default: []
91639169
items:
91649170
$ref: "#/components/schemas/RelatedDocumentInput"
9165-
payment_related_ids:
9166-
type: array
9167-
items:
9168-
type: string
9169-
description: Id de facturapi de las facturas que fueron pagadas con este documento.
9170-
default: []
91719171
third_party:
91729172
allOf:
91739173
- type: object

0 commit comments

Comments
 (0)