@@ -18,62 +18,45 @@ public class Invoice {
1818 private String id ;
1919 private String organization ;
2020 private Boolean livemode ;
21- @ JsonProperty ("created_at" )
2221 private Instant createdAt ;
2322 private Instant date ;
24- @ JsonProperty ("issuer_type" )
2523 private IssuingType issuerType ;
2624 private InvoiceType type ;
2725 private InvoiceStatus status ;
28- @ JsonProperty ("cfdi_version" )
2926 private Integer cfdiVersion ;
30- @ JsonProperty ("issuer_info" )
3127 private CustomerInfo issuerInfo ;
32- @ JsonProperty ("payment_form" )
3328 private PaymentForm paymentForm ;
34- @ JsonProperty ("payment_method" )
3529 private PaymentMethod paymentMethod ;
3630 private String currency ;
3731 private Double exchange ;
3832 private String uuid ;
3933 private CustomerInfo customer ;
4034 private Double total ;
4135 private String use ;
42- @ JsonProperty ("folio_number" )
4336 private String folioNumber ;
4437 private String series ;
4538 @ JsonProperty ("is_ready_to_stamp" )
4639 private Boolean readyToStamp ;
4740 private List <InvoiceItem > items = new ArrayList <>();
4841 private Address address ;
49- @ JsonProperty ("amount_due" )
5042 private Double amountDue ;
51- @ JsonProperty ("verification_url" )
5243 private String verificationUrl ;
53- @ JsonProperty ("verification_carta_porte" )
5444 private String verificationCartaPorte ;
55- @ JsonProperty ("cancellation_status" )
5645 private CancellationStatus cancellationStatus ;
57- @ JsonProperty ("external_id" )
5846 private String externalId ;
59- @ JsonProperty ("idempotency_key" )
6047 private String idempotencyKey ;
6148 private Stamp stamp ;
6249 private String addenda ;
6350 private String conditions ;
64- @ JsonProperty ("pdf_custom_section" )
6551 private String pdfCustomSection ;
6652 @ JsonProperty ("export" )
6753 private String exportReference ;
6854 private GlobalInfo global ;
6955 private InvoiceCancellation cancellation ;
7056 private List <InvoiceComplement > complements = new ArrayList <>();
71- @ JsonProperty ("related_documents" )
7257 private List <RelatedDocument > relatedDocuments = new ArrayList <>();
7358 private List <XmlNamespace > namespaces = new ArrayList <>();
74- @ JsonProperty ("received_payment_ids" )
7559 private List <String > receivedPaymentIds = new ArrayList <>();
76- @ JsonProperty ("target_invoice_ids" )
7760 private List <String > targetInvoiceIds = new ArrayList <>();
7861
7962 public String getId () { return id ; }
0 commit comments