-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(1)Erro no ficheiro, AuditFile.SourceDocuments.SalesInvoices.Invoice #227
Comments
Bom dia |
Bom dia, @patricialmeida eis as linhas do ficheiro:
<Invoice>
<InvoiceNo>ND DEVOL12023/3</InvoiceNo>
<DocumentStatus>
<InvoiceStatus>N</InvoiceStatus>
<InvoiceStatusDate>2023-08-19T09:51:03</InvoiceStatusDate>
<Reason></Reason>
<SourceID>S.DIAS</SourceID>
<SourceBilling>P</SourceBilling>
</DocumentStatus>
<HASH>KYeI3rg7msxZwod8t/SzsgoGxwvE184k67XBMT65hnnvLAzquN4sVScaMozDxSkekCTnH1chrML2yhEkK90ENBFwWdfoKlq1NJUOoQGpxRoWeN5p3QwwKfSt1izaVgd0iNGOrLYDj6MoTQKpyzS9GjLM1KRruNa/Ld8E1LVnBxo=</HASH>
<HashControl>1</HashControl>
<Period>8</Period>
<InvoiceDate>2023-08-19</InvoiceDate>
<InvoiceType>ND</InvoiceType>
<SpecialRegimes>
<SelfBillingIndicator>0</SelfBillingIndicator>
<CashVATSchemeIndicator>0</CashVATSchemeIndicator>
<ThirdPartiesBillingIndicator>0</ThirdPartiesBillingIndicator>
</SpecialRegimes>
<SourceID>S.DIAS</SourceID>
<SystemEntryDate>2023-08-19T09:50:13</SystemEntryDate>
<CustomerID>1174</CustomerID>
<ShipTo>
<Address>
<AddressDetail>Morada do Cliente</AddressDetail>
<City>HUILA</City>
<Country>AO</Country>
</Address>
</ShipTo>
<ShipFrom>
<Address>
<AddressDetail>Bairro Cmdt Nzagi</AddressDetail>
<City>HUILA</City>
<Country>AO</Country>
</Address>
</ShipFrom>
<Line>
<LineNumber>1</LineNumber>
<ProductCode>1000012</ProductCode>
<ProductDescription>AREIA GROA LAVADA</ProductDescription>
<Quantity>1.00</Quantity>
<UnitOfMeasure>UN</UnitOfMeasure>
<UnitPrice>0.00</UnitPrice>
<TaxPointDate>2023-08-19</TaxPointDate>
<Description>AREIA GROA LAVADA</Description>
<DebitAmount>0.00</DebitAmount>
<Tax>
<TaxType>IVA</TaxType>
<TaxCountryRegion>AO</TaxCountryRegion>
<TaxCode>ISE</TaxCode>
<TaxPercentage>0</TaxPercentage>
</Tax>
<TaxExemptionReason>IVA - Regime Simplificado</TaxExemptionReason>
<TaxExemptionCode>OUT</TaxExemptionCode>
<SettlementAmount>0.00</SettlementAmount>
</Line>
<Line>
<LineNumber>2</LineNumber>
<ProductCode>1000012</ProductCode>
<ProductDescription>AREIA GROA LAVADA</ProductDescription>
<Quantity>1.00</Quantity>
<UnitOfMeasure>UN</UnitOfMeasure>
<UnitPrice>154000.00</UnitPrice>
<TaxPointDate>2023-08-19</TaxPointDate>
<Description>AREIA GROA LAVADA</Description>
<DebitAmount>154000.00</DebitAmount>
<Tax>
<TaxType>IVA</TaxType>
<TaxCountryRegion>AO</TaxCountryRegion>
<TaxCode>ISE</TaxCode>
<TaxPercentage>0</TaxPercentage>
</Tax>
<TaxExemptionReason>IVA - Regime Simplificado</TaxExemptionReason>
<TaxExemptionCode>OUT</TaxExemptionCode>
<SettlementAmount>0.00</SettlementAmount>
</Line>
<DocumentTotals>
<TaxPayable>0.00</TaxPayable>
<NetTotal>154000.00</NetTotal>
<GrossTotal>154000.00</GrossTotal>
</DocumentTotals>
</Invoice>
…________________________________
From: patricialmeida ***@***.***>
Sent: Tuesday, September 26, 2023 10:05
To: assoft-portugal/SAF-T-AO ***@***.***>
Cc: DChivela ***@***.***>; Author ***@***.***>
Subject: Re: [assoft-portugal/SAF-T-AO] (1)Erro no ficheiro, AuditFile.SourceDocuments.SalesInvoices.Invoice (Issue #227)
Bom dia
Sugeria que mostre as linhas do SAFT relativas ao documento que deu erro
—
Reply to this email directly, view it on GitHub<#227 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A446HRTZG7PMDMLMILTLVTLX4KLG5ANCNFSM6AAAAAA5GLRTV4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Desculpe, respondi no grupo e não no post |
E nesse caso qual seria a possível solução? @patricialmeida |
Boas a todos, foi possível resolver a situação onde tive que configurar o documento de estorno com a natureza NC, pois o mesmo estava configurado para o tipo de documento ND, tal como a @patricialmeida mencionou, o documento que serve para balancear com uma Fatura são as Notas de Crédito e não as de Débito. Após isso o ficheiro foi validado com sucesso no portal da AGT. |
(1)Erro no ficheiro, AuditFile.SourceDocuments.SalesInvoices.Invoice
Foi submetido o ficheiro SAFT-T referente ao mês de Agosto, mas o ficheiro foi regeitado no portal da AGT.
A descrição do erro é a seguinte:
(1)Erro no ficheiro, AuditFile.SourceDocuments.SalesInvoices.Invoice deve atender SUM (Line.CreditAmount) >= SUM (Line.DebitAmount)
AuditFile.SourceDocuments.SalesInvoices.Invoice (ND DEVOL12023/3)
The text was updated successfully, but these errors were encountered: