InvoiceStatus
SalesInvoiceStatusRequest
| Property | Data type | Required / Optional | Description |
|---|---|---|---|
InvoiceReference |
IdSalesInvoice (Series, Number) |
Required | Invoice identification |
InvoiceFlags |
InvoiceFlags |
Optional | Invoice indicators |
StatusType |
SalesInvoiceInvoiceStatusType |
Required | Status type |
Action |
StatusAction |
Required | Status action |
StatusDate |
datetime |
Optional | Status date |
Context |
InvoiceContext |
Optional | Status context data |
SalesInvoiceInvoiceStatusType
0- Paid1- Unpaid
PurchaseInvoiceStatusRequest
| Property | Data type | Required / Optional | Description |
|---|---|---|---|
ExternalReference |
guid |
Required | Purchase invoice external reference |
RejectionReason |
RejectionReasonCode |
Optional | Rejection reason when applicable |
StatusType |
PurchaseInvoiceInvoiceStatusType |
Required | Status type |
Action |
StatusAction |
Required | Status action |
StatusDate |
datetime |
Optional | Status date |
Context |
InvoiceContext |
Optional | Status context data |
PurchaseInvoiceInvoiceStatusType
2- Payment3- Rejection
InvoiceContext
| Property | Data type | Required / Optional | Description |
|---|---|---|---|
DueDate |
datetime |
Optional | Due date |
GoodsReceptionDate |
datetime |
Optional | Goods reception date |
InvoiceReceptionDate |
datetime |
Optional | Invoice reception date |
InvoiceFlags
| Property | Data type | Required / Optional | Description |
|---|---|---|---|
CorrectedInvoice |
boolean |
Optional | Corrected invoice |
NegativeAmountInvoice |
boolean |
Optional | Negative amount invoice |
StatusAction
0- Create1- Cancel
RejectionReasonCode
1- Commercial2- PrivateConsumption
InvoiceStatus
| Property | Data type | Description |
|---|---|---|
Id |
guid |
Status identifier in SDH |
StatusType |
InvoiceStatusType |
Invoice status type |
Action |
StatusAction |
Action applied to the status |
StatusDate |
datetime |
Status date |
Context |
InvoiceContext |
Status context data |
InvoiceFlags |
InvoiceFlags |
Invoice flags |
RejectionReason |
RejectionReasonCode |
Rejection reason |
DeliveryState |
InvoiceStatusDeliveryState |
Delivery state of the status |
DeliveryDateAndTime |
datetime |
Delivery date/time |
SpfeDirection |
InvoiceStatusSpfeDirection |
SPFE exchange direction |
InvoiceStatusType
0- Paid1- Unpaid2- Payment3- Rejection
InvoiceStatusDeliveryState
0- Pending1- Sent
InvoiceStatusSpfeDirection
0- Inbound From Spfe1- Outbound To Spfe