Skip to content

Commit 95d6aac

Browse files
authored
Merge pull request #60 from FacturAPI/feat/payment-ids
Add new payment fields and remove the experimental one, now deprecated
2 parents 5705ef6 + 88e4ba8 commit 95d6aac

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [4.5.0] 2025-01-07
9+
10+
### Added
11+
12+
- New fields for the Invoice object: `received_payment_ids` and `target_invoice_ids`,
13+
used to track payments and PPD invoices.
14+
815
## [4.4.4] 2024-12-18
916

1017
### Fixed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "facturapi",
3-
"version": "4.4.4",
3+
"version": "4.5.0",
44
"description": "Librería oficial de Facturapi. Crea CFDIs timbrados y enviados al SAT, XML y PDF",
55
"main": "dist/index.cjs.js",
66
"module": "dist/index.es.js",

src/types/invoice.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ export interface Invoice {
8383
complements?: InvoiceComplement[] | null;
8484
related_documents?: RelatedDocument[] | null;
8585
namespaces?: XmlNamespace[] | null;
86-
payment_related_ids?: string[] | null;
86+
received_payment_ids?: string[] | null;
87+
target_invoice_ids?: string[] | null;
8788
}
8889

8990
export interface CancelInvoiceOptions {

0 commit comments

Comments
 (0)