¿En qué podemos ayudarte?
PurchaseInvoice (class)
Contains information required to create a purchase invoice.
Properties
| Property | Type | Description |
|---|---|---|
| AddressCode | integer | |
| AmountBaseVAT1 | decimal | |
| AmountBaseVAT2 | decimal | |
| AmountBaseVAT3 | decimal | |
| AmountSpecialVAT1 | decimal | |
| AmountSpecialVAT2 | decimal | |
| AmountSpecialVAT3 | decimal | |
| AmountTaxRetention | decimal | |
| AmountVAT1 | decimal | |
| AmountVAT2 | decimal | |
| AmountVAT3 | decimal | |
| CalculationTypeTaxRetention | TaxRetentionCalculationType | Status of note, see more in TaxRetentionCalculationType (enum) |
| ClassificationCode | string | |
| CodeTaxRetention | string | |
| CodeVAT1 | string | |
| CodeVAT2 | string | |
| CodeVAT3 | string | |
| ControlNumber | string | |
| CurrencyAmountBaseVAT1 | decimal | |
| CurrencyAmountBaseVAT2 | decimal | |
| CurrencyAmountBaseVAT3 | decimal | |
| CurrencyCode | string | |
| CurrencyExchange | decimal | |
| CurrencyOthers1Amount | decimal | |
| CurrencyOthers2Amount | decimal | |
| CurrencyTransportAmount | decimal | |
| Date * | date | |
| Description * | string | |
| MethodPaymentCode | string | |
| Notes | list of long | |
| Number * | string | |
| Others1Amount | decimal | |
| Others1AmountSpecialVAT | decimal | |
| Others1AmountVAT | decimal | |
| Others1Code | string | |
| Others1CodeVAT | string | |
| Others1Name | string | |
| Others1Percent | decimal | |
| Others1PercentSpecialVAT | decimal | |
| Others1PercentVAT | decimal | |
| Others2Amount | decimal | |
| Others2AmountSpecialVAT | decimal | |
| Others2AmountVAT | decimal | |
| Others2Code | string | |
| Others2CodeVAT | string | |
| Others2Name | string | |
| Others2Percent | decimal | |
| Others2PercentSpecialVAT | decimal | |
| Others2PercentVAT | decimal | |
| PercentRetention | decimal | |
| PercentSpecialVAT1 | decimal | |
| PercentSpecialVAT2 | decimal | |
| PercentSpecialVAT3 | decimal | |
| PercentTaxRetention | decimal | |
| PercentVAT1 | decimal | |
| PercentVAT2 | decimal | |
| PercentVAT3 | decimal | |
| ProjectCode | string | |
| ReceptionDate | date | |
| Rectification | boolean | |
| RectifiedInvoiceId | integer | |
| Reference | string | |
| SpecialVAT | boolean | |
| SupplierCode * | string | |
| TaxTreatmentCode | string | |
| TermPaymentCode | string | |
| TransportAmount | decimal | |
| TransportAmountSpecialVAT | decimal | |
| TransportAmountVAT | decimal | |
| TransportCodeVAT | string | |
| TransportPercentSpecialVAT | decimal | |
| TransportPercentVAT | decimal | |
| WorkOrderCode | integer | |
| Fields | List of DataField | List of extended data in DataField format |
* Required to create a new note