mutation legacyInvoiceCreate ($attributes: LegacyInvoiceAttributes!) {
legacyInvoiceCreate (attributes: $attributes) {
errors
invoice {
accountId
amount
amountDue
amountPaid
baseCurrencyId
couponApplied
createdAt
credits
currencyId
description
dueAt
id
isLegacy
issuedAt
kind
netPaymentDays
notes
number
paidAt
payableId
poNumber
portalUrl
quoteId
smallUnitAmountDue
subtotal
taxAmount
updatedAt
url
uuid
}
}
}
{
"attributes": {
"accountId": "456123",
"accountCode": "",
"currencyId": "456123",
"state": "InvoiceState",
"number": "",
"amount": "1.00",
"taxAmount": "1.00",
"subtotal": "1.00",
"baseCurrencyTotal": "1.00",
"dueAt": "2022-06-01",
"netPaymentDays": 123,
"poNumber": "",
"pdfBlobUuid": "456123",
"issuedAt": "2022-06-01"
}
}